<!--{include(pe_tpl('header.html'));}-->
<div class="huiyuan_content">
	<!--{include(pe_tpl('user_menu.html'));}-->
	<div class="fr huiyuan_main">
		<div class="hy_tt">
			<a href="{$pe['host']}user.php?mod=userbank" class="sel">{$menutitle}<i></i></a>
		</div>
		<div class="hy_table">
		<form method="post" id="form">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td style="text-align:right;" width="150">收款账户：</td>
			<td>
				<select name="userbank_index" class="inputselect" style="width:216px">
				<!--{foreach($info['userbank_typelist'] as $k=>$v):}-->
				<option value="{$k}">{$v['name']}</option>
				<!--{endforeach;}-->
				</select>
			</td>
		</tr>
		<tr>
			<td style="text-align:right;">收款账号：</td>
			<td><input type="text" name="userbank_num" value="{$info['userbank_num']}" class="inputall input200" /> <span id="userbank_num_show"></span></td>
		</tr>
		<tr>
			<td style="text-align:right;">收&nbsp;&nbsp;款 人：</td>
			<td><input type="text" name="userbank_tname" value="{$info['userbank_tname']}" class="inputall input200" /> <span id="userbank_tname_show"></span></td>
		</tr>
		<tr>
			<td></td>
			<td>
				<input type="hidden" name="pe_token" value="{$pe_token}" />
				<input type="hidden" name="pesubmit" />	
				<input type="button" value="提 交"  class="tjbtn" />
			</td>
		</tr>
		</table>
		</form>
		</div>
	</div>
	<div class="clear"></div>
</div>
<script type="text/javascript">
$(function(){
	$(":button").click(function(){
		pe_submit('user.php?mod=userbank&act=add', function(json){
			if (json.code == 1) {
				if ('{$_g_from}') {
					pe_open("{$_g_from}", 1000);
				}
				else {
					pe_open("user.php?mod=userbank", 1000);				
				}
			}
		})
	})
})
</script>
<!--{include(pe_tpl('footer.html'));}-->